﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Stylish scroll bar</title>
    <script src="../../js/jquery-1.4.3.min.js" type="text/javascript"></script>
    <link href="StylishScrollbar.css" rel="stylesheet" type="text/css" />
    <script src="StylishScrollbar.js" type="text/javascript"></script>
    <style type="text/css">
        #container
        {
        	width:400px;
        	height:200px;
        	border:1px solid black;
        	background:white;
        }
        #content
        {
        	width:400px;
        	height:400px;
        	border:1px solid #666666;
        	background:gray;
        	font-size:36px;
        }
    </style>
    <script type="text/javascript">
        $(function () {
            var scrollbar = microsoft.coral.frontend.ui.scrollbar;
            scrollbar.addTo($("#content"));
        })

    </script>
</head>
<body>
    <div id="container">
        <div id ="content">Scroll bar</div>
    </div>
</body>
</html>
